If Statements

You can use if statements in Purlem's landing page editor to display specific content based on the user visiting the landing page.

Using landing page "if statements"

if('#variable' = 'Test','Value if true','Value if false')
	

Replace the #variable value with the result from the "Variable Content" dropdown in the editor.

For example, if I wanted to send a special message to all visitors from "XYZ Company", I would use:

if('#company' = 'XYZ Company','Welcome everybody from XYZ Company!',' ')
	

You can leave the  Value if False value blank if you don't want to show anything if the visitor is not from XYZ Company.

This feature will also work with the not equals ( !=) sign.
For example, if I wanted to send a special message to all visitors EXCEPT for those from "XYZ Company", I would use:

if('#company' != 'XYZ Company','You should join XYZ Company!',' ')